﻿.hc-preview {
  position: relative;
  display: inline;
}

.hc-name {
    position: relative;
    display: inline-block !important;
    float: none !important;
    cursor: pointer;
    z-index: 50;
    padding: 0.25rem 0.5rem 0.25rem 0;
}

.hc-details {
  left: -10px;
  top: -10px;
  margin-right: 80px;
  text-align: left;
  position: absolute;
  padding: 2em 10px 10px;
  display: none;
  -moz-box-shadow: rgba(42, 73, 133, 0.4) 0 4px 12px 0, rgba(255, 255, 255, 0.506) 0 1px 0 0 inset;
  -webkit-box-shadow: rgba(42, 73, 133, 0.4) 0 4px 12px 0, rgba(255, 255, 255, 0.506) 0 1px 0 0 inset;
  box-shadow: rgba(42, 73, 133, 0.4) 0 4px 12px 0, rgba(255, 255, 255, 0.506) 0 1px 0 0 inset;
  border: solid 1px #ddd;
  z-index: 100;
  .s-action {
    position: absolute;
    top: 5px;
    right: 20px;
  }
  .s-close {
    position: absolute;
    top: 11px;
    right: 8px;
    width: 8px;
    height: 8px;
    &:hover {
      cursor: hand;
    }
  }
  .s-card-pad {
    border-top: solid 1px #eee;
    margin-top: 10px;
    padding-top: 10px;
    overflow: hidden;
  }
  .s-card .s-strong {
    font-weight: bold;
    color: #555;
  }
  .s-img {
    float: left;
    margin-right: 10px;
    max-width: 70px;
  }
  .s-name {
    color: #222;
    font-weight: bold;
    float: left;
  }
  .s-href {
    clear: both;
    float: left;
  }
  .s-username {
    text-decoration: none;
  }
  .s-stats {
    display: block;
    float: left;
    margin-top: 5px;
    clear: both;
    padding: 0;
  }
  ul.s-stats li {
    list-style: none;
    float: left;
    display: block;
    padding: 0px 10px !important;
    margin: 0;
    border-left: solid 1px #eaeaea;
    &:first-child {
      border: none;
      padding-left: 0px !important;
    }
  }
}

.hc-pic {
  width: 70px;
  margin-top: -1em;
  float: right;
}

.hc-details-open-left {
  left: auto;
  right: -10px;
  margin-left: 80px;
  margin-right: 0;
  > .hc-pic {
    float: left;
  }
  .s-action {
    top: 5px;
    left: 20px;
    right: auto;
  }
  .s-close {
    top: 11px;
    left: 9px;
    right: auto;
  }
}

.hc-details-open-top {
  bottom: -10px;
  top: auto;
  padding: 10px 10px 2em;
  > .hc-pic {
    margin-top: 10px;
    float: right;
  }
  .s-action {
    top: auto;
    bottom: 5px;
    right: 20px;
  }
  .s-close {
    top: auto;
    bottom: 11px;
    right: 9px;
  }
  .s-card-pad {
    border: none;
    border-bottom: solid 1px #eee;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
}

.hc-details {
  .s-loc, .s-rank {
    float: left;
  }
  .s-desc, .s-interests, .s-joined {
    float: left;
    font-family: Georgia;
    font-style: italic;
    margin-top: 5px;
    width: 100%;
  }
  .s-count, .s-posts, .s-points {
    font-weight: bold;
  }
}